const state = () => ({
    BusinessRoutes: [],
    Routeskey: "",
})

const mutations = {
    BusinessRoutes(state, val) {
        state.BusinessRoutes = val;
    },
    setRouteskey(state, val) {
        state.Routeskey = val;
    },
}

const getters = {
    getBusinessRoutes(state) {
        return state.BusinessRoutes;
    }
}

export default {
    namespaced: true,
    state,
    mutations,
    getters
}
